<h2 class="photo-category-title">Photo Categories</h2>
<?php foreach($this->categories as $c) { ?>
<a class="ajax-thumb-list" href="<?php echo $this->url(array('action' => 'thumb', 'controller' => 'photo', 'module' => 'home', 'category_id' => $c['categoryID']), null, TRUE); ?>"><?php echo $c['categoryName']; ?> (<?php echo $c['categoryCounts']; ?>)</a>
<?php } ?>